package com.hoshiicloud.stock.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 库存单据类型修改参数实体
 *
 * @author : yangcheng
 * @date : 2019/5/18 18:04
 * @mail : maiboyc@163.com
 **/
@ApiModel
@Data
public class WvtypeUpdateParam {

    // ID
    @NotNull(message = "ID不能为空")
    @ApiModelProperty(name = "id", value = "ID", dataType = "java.lang.Long", example = "3171776001692664001")
    private Long id;

    // 单据类型  SOI SOO  OTI OTO POI POO STI STO
    @NotNull(message = "单据类型不能为空")
    @ApiModelProperty(name = "billtype", value = "单据类型", required = true, dataType = "java.lang.String", example = "SOI")
    private String billtype;

    // 单据类型名称 采购入库   + 采购退货   销售出库   销售退货  调拨单（.转移单） 其他入库  其他出库  盘点调整单
    @NotNull(message = "单据类型名称不能为空")
    @ApiModelProperty(name = "name", value = "单据类型名称", required = true, dataType = "java.lang.String", example = "其他入库")
    private String name;

    // 进出标志 1-入库 2-出库
    @NotNull(message = "进出标志不能为空")
    @ApiModelProperty(name = "flag", value = "进出标志", required = true, dataType = "java.lang.Integer", example = "1")
    private Integer flag;

}